<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE>
<html>
<head>
    <title>举报红包列表</title>

    <smLink1>
        <link rel="stylesheet" href="<%=basePath%>js/lib/ace/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css">
        <link rel="stylesheet" href="<%=basePath%>js/lib/ace/components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css">
    </smLink1>
    <smLink2></smLink2>

    <smScript1>
        <script type="text/javascript" src="<%=basePath%>js/lib/ace/components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
        <script type="text/javascript" src="<%=basePath%>js/lib/ace/components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js"></script>
        <script type="text/javascript" src="<%=basePath%>js/lib/ace/components/datatables/media/js/jquery.dataTables.min.js"></script>
        <script type="text/javascript" src="<%=basePath%>js/lib/ace/components/_mod/datatables/jquery.dataTables.bootstrap.min.js"></script>
    </smScript1>
    <smScript2>
        <script type="text/javascript" src="<%=basePath%>js/common/datatables.utils.js"></script>
        <script type="text/javascript" src="<%=basePath%>js/jsp/redpack/report/list.js"></script>
    </smScript2>
</head>

<body>
<div id="breadcrumbs" class="breadcrumbs ace-save-state">
    <ul class="breadcrumb">
        <li>
            <span>举报红包列表</span>
        </li>
    </ul>
</div>

<div class="page-content">
    <div class="row">
        <div class="col-xs-12">
            <div class="clearfix">
                <div class="pull-right tableTools-container"></div>
            </div>

            <div class="table-header p-0">
                <h4 class="header m-0 p-l-10 p-t-5 p-b-5">举报红包列表</h4>

                <form role="form" class="form-inline m-0 p-l-10 p-b-5">
                    <div class="form-group m-r-10">
                        <label class="control-label" for="report_create_person">举报人：</label>

                        <input id="report_create_person" class="form-control input-sm" type="text" placeholder="输入举报人">
                    </div>

                    <div class="form-group m-r-10">
                        <label class="control-label" for="report_create_person_phone">举报人手机号：</label>

                        <input id="report_create_person_phone" class="form-control input-sm" type="text" placeholder="输入举报人手机号">
                    </div>

                    <div class="form-group">
                        <label class="control-label" for="report_name">举报标题：</label>

                        <input id="report_name" class="form-control input-sm" type="text" placeholder="输入举报标题">
                    </div>
                </form>

                <form role="form" class="form-inline m-0 p-l-10 p-b-5">
                    <div class="form-group m-r-10">
                        <label class="control-label" for="report_handle_person">发红包人：</label>

                        <input id="report_handle_person" class="form-control input-sm" type="text" placeholder="输入发红包人">
                    </div>

                    <div class="form-group m-r-10">
                        <label class="control-label" for="mch_billno">商户订单号：</label>

                        <input id="mch_billno" class="form-control input-sm" type="text" placeholder="输入商户订单号">
                    </div>

                    <div class="form-group">
                        <label class="control-label" for="status">红包状态：</label>

                        <select id="status" class="form-control input-sm search-select">
                            <option selected="selected" value="">全部</option>
                            <option value="SENDING">发放中</option>
                            <option value="SENT">已发放待领取</option>
                            <option value="FAILED">发放失败</option>
                            <option value="RECEIVED">已领取</option>
                            <option value="RFUND_ING">退款中</option>
                            <option value="REFUND">已退款</option>
                        </select>
                    </div>
                </form>

                <form role="form" class="form-inline m-0 p-l-10 p-b-5">
                    <div class="form-group m-r-10">
                        <label class="control-label">红包发送时间：从</label>

                        <div class="input-group input-group-sm">
                            <input id="send_time_start_date" class="form-control" type="text" readonly="readonly" placeholder="开始日期">

                            <span class="input-group-addon">
                                <i class="ace-icon iconfont icon-calendar cursor-default f-s-12"></i>
                            </span>
                        </div>

                        <label class="control-label">至</label>

                        <div class="input-group input-group-sm">
                            <input id="send_time_end_date" class="form-control" type="text" readonly="readonly" placeholder="结束日期">

                            <span class="input-group-addon">
                                <i class="ace-icon iconfont icon-calendar cursor-default f-s-12"></i>
                            </span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label">红包退款时间：从</label>

                        <div class="input-group input-group-sm">
                            <input id="refund_time_start_date" class="form-control" type="text" readonly="readonly" placeholder="开始日期">

                            <span class="input-group-addon">
                                <i class="ace-icon iconfont icon-calendar cursor-default f-s-12"></i>
                            </span>
                        </div>

                        <label class="control-label">至</label>

                        <div class="input-group input-group-sm">
                            <input id="refund_time_end_date" class="form-control" type="text" readonly="readonly" placeholder="结束日期">

                            <span class="input-group-addon">
                                <i class="ace-icon iconfont icon-calendar cursor-default f-s-12"></i>
                            </span>
                        </div>
                    </div>
                </form>

                <form role="form" class="form-inline m-0 p-l-10 p-b-5">
                    <div class="form-group">
                        <shiro:hasPermission name="report_redpack:list">
                            <button id="search_report_btn" class="btn btn-danger btn-xs m-r-30" type="button">
                                <i class="ace-icon iconfont icon-search f-s-12"></i>搜索
                            </button>
                        </shiro:hasPermission>
                    </div>
                </form>
            </div>

            <div>
                <table id="report_table" class="table table-striped table-bordered table-hover"></table>
            </div>
        </div>
    </div>
</div>
</body>
</html>